package com.xiaobai.design_pattern.abstractfactory.createrole;

import com.xiaobai.design_pattern.abstractfactory.productrole.ProductA;
import com.xiaobai.design_pattern.abstractfactory.productrole.ProductB;

/**
 * @author wangtw
 * @ClassName AbstractFactory
 * @description: 抽象工厂模式的抽象工厂角色
 * @date 2023/11/2121:43
 */
public interface AbstractFactory {

    /**
     * 创建产品A
     * @return
     */
    ProductA factoryA();

    /**
     * 创建产品B
     * @return
     */
    ProductB factoryB();
}
